import request from './config/request.js'

//获取相册列表
export function getAlbumListApi(params) {
	return request({
		url: '/api/homePage/getPhotoAlbumList',
		method: 'GET',
		data: params,
	});
}

//获取相册详情
export function getAlbumDetailApi(params) {
	return request({
		url: '/api/homePage/getPhotoAlbumInfo',
		method: 'GET',
		data: params,
	});
}
//添加到回收站
export function addRecycleBinApi(params) {
	return request({
		url: '/api/homePage/add/recycleBin',
		method: 'POST',
		data: params,
	});
}
//回收站回复到相册
export function backRecycleBinApi(params) {
	return request({
		url: '/api/homePage/revocation/recycleBin',
		method: 'POST',
		data: params,
	});
}

//回收站删除照片视频
export function delRecycleBinApi(params) {
	return request({
		url: '/api/homePage/del/recycleBin',
		method: 'POST',
		data: params,
	});
}